package com.arrcen.medicen.core.match.service;


import com.arrcen.medicen.core.match.model.dto.DtoPage;
import com.arrcen.medicen.core.match.model.dto.DtoPageKey;
import com.arrcen.medicen.core.match.model.dto.ResultObj;
import com.arrcen.medicen.core.match.model.entity.ScheduleTaskEntity;
import com.arrcen.medicen.core.match.model.entity.ScheduleTaskTableEntity;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * XXL-JOB调整任务
 */
public interface ScheduleTask {
    /**
     * 启动运行，开始同步数据
     */
    void xxlJobRun();

    /**
     * 获取调度日志列表
     * @param dtoPage
     * @return
     */
    IPage<ScheduleTaskEntity> getTaskList(DtoPage dtoPage);

    /**
     * 获取一次调度下所有导表日志列表
     * @param dtoPage
     * @return
     */
    IPage<ScheduleTaskTableEntity> getTaskTableList(DtoPageKey dtoPage);
}
